﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="iEN.Test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <asp:Label ID="Label1" runat="server" Font-Bold="True" 
            Text="GetPowerMeterWithDemand"></asp:Label>
            <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="測試" />
        <br />
        <asp:GridView ID="GridView1" runat="server" BackColor="White" 
            BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
            ForeColor="Black" GridLines="Vertical">
            <AlternatingRowStyle BackColor="#CCCCCC" />
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
        <br />
        <hr size="1" style="background-color: #000000" />
     </div>
    <div>
        <asp:Label ID="Label2" runat="server" Font-Bold="True" 
            Text="GetDemandReport"></asp:Label>
            <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="測試" />
        <br />
        <asp:GridView ID="GridView2" runat="server" BackColor="White" 
            BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
            ForeColor="Black" GridLines="Vertical">
            <AlternatingRowStyle BackColor="#CCCCCC" />
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
        <br />
        <hr size="1" style="background-color: #000000" />
     </div>
         <div>
        
             <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                 <ContentTemplate>
                 <asp:Label ID="Label3" runat="server" Font-Bold="True" 
            Text="測試ReportViewer套件"></asp:Label> 
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="測試" />
        <br />
                     <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
                         Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
                         WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Height="500px" 
                         Width="800px" Visible="False">
                         
                     </rsweb:ReportViewer>
                    
                 </ContentTemplate>
             </asp:UpdatePanel>
        <br />
        <hr size="1" style="background-color: #000000" />
     </div>
      <div>
        <asp:Label ID="Label4" runat="server" Font-Bold="True" 
            Text="GetGroupInformation"></asp:Label>
            <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="測試" />
        <br />
        <asp:GridView ID="GridView3" runat="server" BackColor="White" 
            BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
            ForeColor="Black" GridLines="Vertical">
            <AlternatingRowStyle BackColor="#CCCCCC" />
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
        <br />
        <hr size="1" style="background-color: #000000" />
     </div>
    </form>
</body>
</html>
